package com.csnf;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.LoggerFactory;
import org.slf4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.csnf.mapper")
public class MechantServiceApplication {
    private static final Logger logger = LoggerFactory.getLogger(MechantServiceApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(MechantServiceApplication.class, args);
        logger.info("哇塞，商户服务启动了");
    }

}
